textlayout: Allow querying empty areas
authorBenjamin Otte <otte@redhat.com>
Thu, 28 Mar 2019 23:24:00 +0000 (00:24 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 29 Mar 2019 08:56:52 +0000 (09:56 +0100)
commit4b07d2815375856823532b2238d87455c3be2f7c
tree2847e3d3edb32bdc526fb4eef5af78e67eda6fa7
parentc04190e7611fd9877fba9f8ebdc4ff6b0041d9c7
textlayout: Allow querying empty areas

This only happens when the textview has no content, but it does happen
now that such a textview gets allocated 0x0 and not 1x1.
gtk/gtktextlayout.c